﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UniMana.Data.Quiz;
using System.Data.Linq;

namespace UniMana.Lib.Quiz
{
    public static class Quiz_QuestionLevelData
    {
        public static IQueryable GetList(this Table<Quiz_QuestionLevel> _nLevel)
        {
            var result = from nLvl in _nLevel
                         select new
                         {
                             nLvl.Quiz_QuestionLevelKey,
                             nLvl.Name,
                             NumQues = 0
                         };
            return result;
        }
    }
}
